package org.mspring.mlog.common;

/**
 * @author Gao Youbo
 * @since 2015/3/8.
 */
public class CacheNames {

    /**
     * 配置缓存
     */
    public static final String CONFIG = "config";
    /**
     * 最新发表文章
     */
    public static final String LATEST_ARTICLE_LIST = "latestArticleList";

    /**
     * 热门文章列表
     */
    public static final String HOT_ARTICLE_LIST = "hotArticleList";

    /**
     * 文章缓存,key=id,value=Article
     */
    public static final String ARTICLE = "article";

    /**
     * 分类, key=id, value=Category
     */
    public static final String CATEGORY = "category";

    /**
     * 分类列表
     */
    public static final String CATEGORY_LIST = "categoryList";

    /**
     * 友情链接列表
     */
    public static final String LINK_LIST = "linkList";

    /**
     * 文章对应的标签列表缓存,key=articleId, value=List<Tag>
     */
    public static final String ARTICLE_TAG_LIST = "articleTagList";
}
